package ModelLayer;


public class Invoice {
	private int invoiceNo;
	private String paymentDate;
	private double totalInvoicePrice;
	private SalesOrder so;

	/*
	 * Constructor
	 */
	public Invoice(int invoiceNo, String paymentDate, double totalInvoicePrice, SalesOrder so) {
		this.invoiceNo = invoiceNo;
		this.paymentDate = paymentDate;
		this.totalInvoicePrice = totalInvoicePrice;
		this.so = so;
	}

	/*
	 * Empty constructor
	 */
	public Invoice() {	
	}

	/*
	 * Set and get methods
	 */
	public int getInvoiceNo() {
		return invoiceNo;
	}

	public void setInvoiceNo(int invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	public String getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(String paymentDate) {
		this.paymentDate = paymentDate;
	}

	public double getTotalInvoicePrice() {
		return totalInvoicePrice;
	}

	public void setTotalInvoicePrice(double totalInvoicePrice) {
		this.totalInvoicePrice = totalInvoicePrice;
	}

	public SalesOrder getSo() {
		return so;
	}

	public void setSo(SalesOrder so) {
		this.so = so;
	}

}
